import java.util.*;
public class Transaction {

	private int Tid;
	private Itemset items;
	
	public Transaction(int id, TreeSet<String> rowSet){
		
		items=new Itemset(rowSet);
		Tid=id;
	}
	
	public Itemset getItemSet(){
		
		return items;
	}
	
	public String toString(){
		
		return Tid+"\t"+items.toString();
		
	}
}
